package com.stu.student_back_end.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 宿舍实体类
 */
@Data
@TableName("tbl_dorm")
public class TblDorm {

    @TableId(value = "id",type = IdType.AUTO)
    private int id;

    @TableField("buildName")
    private String buildName;

    @TableField("dormName")
    private String dormName;

    private int type;

    @TableField("freeBeds")
    private int freeBeds;
}
